<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/ui/expression" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.expressionManage}</h1>
    </div>

    <div class="datas">
      <form method="post" action="{:URL('admin/Ui/doSetExpression')}">
        <div class="datas-bd">
          <table class="table">
            <thead>
              <tr>
                <th style="">{$Think.lang.expressionEnable}</th>
                <th style="">{$Think.lang.expressionOrder}</th>
                <th style="">{$Think.lang.expressionType}</th>
                <th style="">{$Think.lang.expressionQty}</th>
                <th style="">{$Think.lang.expressionPathname}</th>
              </tr>
            </thead>
            <tbody>
              <volist name="expression_list" id="vo" key="k">
                <tr>
                  <td>
                    <input type="radio" id="checkbox2" name="expression_enable" value="{$vo.filename}" <php>if($expression_enable == $vo['filename']) echo 'checked';</php>>
                  </td>
                  <td>
                    <input type="number" min="1" value="{$k}" class="input-text" />
                  </td>
                  <td>
                    <input type="text" value="{$vo.filename}" class="input-text" />
                  </td>
                  <td>{$vo.filenum}</td>
                  <td>{$vo.pathname}</td>
                </tr>
              </volist>
            </tbody>
          </table>
        </div>

        <div class="datas-ft">
          <div class="actions">
            <input class="btn btn-y" type="submit" value="{$Think.lang.OK}" />
          </div>
        </div>

      </form>
    </div>
  </div>
</body>

</html>
